FROM bitnami/java:21
WORKDIR /app
COPY ./ruoyi-modules/ruoyi-file/target/ruoyi-modules-file.jar /app/
COPY ./ruoyi-modules/ruoyi-file/src/main/resources/*.yml /app/config/
CMD ["java","-jar","ruoyi-modules-file.jar","--spring.config.location=config/"]